﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMsaster.master" AutoEventWireup="true" CodeFile="BackupAndRecover.aspx.cs" Inherits="Admin_BackupAndRecover" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


     <div id="page-wrapper" >
            <div id="page-inner">
			 <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            数据库的备份与还原<small> 在这里备份与还原数据库</small>
                        </h1>
                      
                        <div class="breadcrumb" style="font-family:FZBeiWeiKaiShu-S19S;">
                        <h2>*数据库文件管理</h2> <hr />
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;点击执行数据库的备份到系统指定路径：<asp:Button CssClass="btn btn-success"  ID="Button1" runat="server" Text="点击备份" OnClick="Button1_Click" /><code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"></code></p>
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;点击将数据库还原到上一备份的时间点：<asp:Button CssClass="btn btn-warning"  ID="Button2" runat="server" Text="点击还原" OnClick="Button2_Click" /><code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"></code></p>   
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;点击清除数据库备份目录下的所有文件：<asp:Button CssClass="btn btn-danger"  ID="Button3" runat="server" Text="点击删除" OnClick="Button3_Click" /><code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"></code></p>   
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;清空数据库的所有内容，还原到初始状态：<asp:Button CssClass="btn btn-danger"  ID="Button4" runat="server" Text="初始化数据库" OnClick="Button3_Click" /><code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"></code></p>   
                        </div>
                    </div>
                </div> 
                 <!-- /. ROW  -->
			
				</div>
      
            </div>
     <!-- Bootstrap Js必要 -->
    <script src="assets/js/jquery-1.10.2.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>



    <script src="assets/js/bootstrap-datetimepicker.min.js"></script>
    <script src="assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <!-- Metis Menu Js -->
    <script src="assets/js/jquery.metisMenu.js"></script>
    <!-- DATA TABLE SCRIPTS -->
    <script src="assets/js/ReportTables.js"></script>
    <script src="assets/js/dataTables/dataTables.bootstrap.js"></script>
    <!-- Custom Js -->
    <script src="assets/js/custom-scripts.js"></script>
    <!-- 日期管理 -->
    <script type="text/javascript">
        $('.form_date').datetimepicker({
            language: 'zh-CN',
            weekStart: 1,
            todayBtn: 1,
            autoclose: 1,
            todayHighlight: 1,
            startView: 2,
            minView: 2,
            forceParse: 0,
            format: 'yyyy-mm-dd'
        });
    </script>


</asp:Content>

